<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:ui="http://java.sun.com/jsf/facelets"
        >

<cc:interface>

</cc:interface>


<cc:implementation>

    var data = [
    <ui:repeat value="#{cc.parent.attrs.model.serie.columnData}" var="column">
        [#{column.timestamp},#{column.open},#{column.high},#{column.low},#{column.close}],
    </ui:repeat>];

    var series = {
    type: 'candlestick',
    name: '#{cc.attrs.model.title}',
    data: data
    };

    options.series.push(series);
</cc:implementation>
</html>
